home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
tchk21.arc
/
INCLUDE.ARC
/
SOUND.H
< prev
next >
Wrap
C/C++ Source or Header
|
1989-06-20
|
3KB
|
111 lines
/* TCHK 2.1 - Howard Kapustein's Turbo C library 6-6-89 */
/* Copyright (C) 1988,1989 Howard Kapustein. All rights reserved. */
/* sound.h - sound functions header file */
#ifndef SOUND_HEADER
#define SOUND_HEADER 1
void Tone(unsigned frequency, unsigned duration); /* Play a tone */
void beep(void); /* beep speaker */
#define sC0 16.35
#define sC0s 17.32
#define sD0 18.35
#define sD0s 19.45
#define sE0 20.60
#define sF0 21.83
#define sF0s 23.12
#define sG0 24.50
#define sG0s 25.96
#define sA0 27.50
#define sA0s 29.14
#define sB0 30.87
#define sC1 32.70
#define sC1s 34.65
#define sD1 36.71
#define sD1s 38.89
#define sE1 41.20
#define sF1 43.65
#define sF1s 46.25
#define sG1 49.00
#define sG1s 51.91
#define sA1 55.00
#define sA1s 58.27
#define sB1 61.74
#define sC2 65.41
#define sC2s 69.30
#define sD2 73.42
#define sD2s 77.78
#define sE2 82.41
#define sF2 87.31
#define sF2s 92.50
#define sG2 98.00
#define sG2s 103.83
#define sA2 110.00
#define sA2s 116.54
#define sB2 123.47
#define sC3 130.81
#define sC3s 138.59
#define sD3 146.83
#define sD3s 155.56
#define sE3 164.81
#define sF3 174.61
#define sF3s 185.00
#define sG3 196.00
#define sG3s 207.65
#define sA3 220.00
#define sA3s 233.08
#define sB3 246.94
#define sC4 261.63
#define sC4s 277.18
#define sD4 293.66
#define sD4s 311.13
#define sE4 329.63
#define sF4 349.23
#define sF4s 369.99
#define sG4 392.00
#define sG4s 415.30
#define sA4 440.00
#define sA4s 446.16
#define sB4 493.88
#define sC5 523.25
#define sC5s 554.37
#define sD5 587.33
#define sD5s 622.25
#define sE5 659.26
#define sF5 698.46
#define sF5s 739.99
#define sG5 783.99
#define sG5s 830.61
#define sA5 880.00
#define sA5s 932.33
#define sB5 987.77
#define sC6 1046.50
#define sC6s 1108.73
#define sD6 1174.66
#define sD6s 1244.51
#define sE6 1328.51
#define sF6 1396.91
#define sF6s 1479.98
#define sG6 1567.98
#define sG6s 1661.22
#define sA6 1760.00
#define sA6s 1864.66
#define sB6 1975.53
#define sC7 2093.00
#define sC7s 2217.46
#define sD7 2349.32
#define sD7s 2489.02
#define sE7 2637.02
#define sF7 2793.83
#define sF7s 2959.96
#define sG7 3135.96
#define sG7s 3322.44
#define sA7 3520.00
#define sA7s 3729.31
#define sB7 3951.07
#define sC8 4186.01
#endif /* SOUND_HEADER */